package org.sensation.server.file.transfer.dispachservice;

import java.io.IOException;
import java.nio.ByteBuffer;

import org.sensation.server.file.transfer.request.FileChannelRequest;

public class WriteService implements DispacheService {
	public void service(FileChannelRequest request) throws IOException {
		ByteBuffer writeBuff = ByteBuffer.allocate(10);
		writeBuff.put("complite".getBytes());
		writeBuff.flip();
		
		request.send(writeBuff);
		request.close();
	}
}
